<?php defined('LFNC_VERSION') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: mime_word_encode.lfnc.php 166 2009-03-11 05:45:18Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/mail/mime_word_encode.lfnc.php $
*/


function mime_word_encode($word, $charset = 'utf-8') {
	return '=?' . $charset . '?B?' . base64_encode($word) . '?=';
}


?>